import classNames from 'classnames'
import React from 'react'

interface Props extends React.ImgHTMLAttributes<HTMLImageElement> {
  className?: string
}
const Image = ({className, ...rest}: Props) => {
  return (
    <img className={classNames('block w-full aspect-[16/9] object-cover bg-[#f1f1f1]', className)} {...rest} />
  )
}

export default Image